package at.fhj.itm11.forum.service.dtos;

import java.util.Date;

import at.fhj.itm11.forum.model.User;

public class PostDTO {
	private Long id;
	private String title;
	private Date date;
	private User user;
	private String text;
	private byte[] image;
	private byte[] video;
	private int percentageOfPositiveRatings;
	private int percentageOfNegativeRatings;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public byte[] getImage() {
		return image;
	}
	public void setImage(byte[] image) {
		this.image = image;
	}
	public byte[] getVideo() {
		return video;
	}
	public void setVideo(byte[] video) {
		this.video = video;
	}
	public int getPercentageOfPositiveRatings() {
		return percentageOfPositiveRatings;
	}
	public void setPercentageOfPositiveRatings(int percentageOfPositiveRatings) {
		this.percentageOfPositiveRatings = percentageOfPositiveRatings;
	}
	public int getPercentageOfNegativeRatings() {
		return percentageOfNegativeRatings;
	}
	public void setPercentageOfNegativeRatings(int percentageOfNegativeRatings) {
		this.percentageOfNegativeRatings = percentageOfNegativeRatings;
	}
}
